package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 礼物兑换记录对象 gift_change_report
 * 
 * @author ruoyi
 * @date 2024-12-01
 */
public class GiftChangeReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 兑换礼物 */
    @Excel(name = "兑换礼物")
    private String giftName;

    /** 礼物积分 */
    @Excel(name = "礼物积分")
    private Long giftScore;

    /** 积分余额 */
    @Excel(name = "积分余额")
    private Long socreBalance;

    /** 兑换人 */
    @Excel(name = "兑换人")
    private Long createUser;

    /** 兑换人电话 */
    @Excel(name = "兑换人电话")
    private String mobile;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGiftName(String giftName) 
    {
        this.giftName = giftName;
    }

    public String getGiftName() 
    {
        return giftName;
    }

    public void setGiftScore(Long giftScore) 
    {
        this.giftScore = giftScore;
    }

    public Long getGiftScore() 
    {
        return giftScore;
    }

    public void setSocreBalance(Long socreBalance) 
    {
        this.socreBalance = socreBalance;
    }

    public Long getSocreBalance() 
    {
        return socreBalance;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("giftName", getGiftName())
            .append("giftScore", getGiftScore())
            .append("socreBalance", getSocreBalance())
            .append("createUser", getCreateUser())
            .append("mobile", getMobile())
            .toString();
    }
}
